10/6
- AI has been writing a report once a day in Scrapbox since 7/29 at Omoikane Project.
- It's been two months of barreling through this and improving on it.
- The last Omoikane Study Group (8/4) was right after that.
- Summarize what you experienced and felt during the two months
This block will be refined later.
- What did you experience and what did you feel?
Current Topics: Azure Cognitive Search
- 9/18 Azure Cognitive Search: Outperforming vector search with hybrid retrieval and ranking capabilities
src
- Talk about combining both and reranking (≈reordering after looking at the search results) is far better than the common "keyword only" search, or vector search.
- It's been known for a while that "it's better to combine and rerank."
- from Combine Searches
- AI King - Japan's No.1 Quiz AI Competition and won 3rd place|PKSHA Delta 2023-01-04

- Talk about combining searches.
- I'm combining DPR and BM25.
- DPR is a messy vector search.
- BM25 is, in a crude way, "modern TF-IDF" BM25: Lexical Match-based.
- Very small overlap in search results for both DPR and BM25
- Vector search is available in:.
- Strong semantic similarity
- Missing low-frequency words / Significant performance degradation outside the distribution (OOD)
- Weak on low-frequency words (=weak on proper nouns, technical terms, and product names), so need to combine normal search
- FiD=Fusion In Decoder
- A text generation system that reads 100 search results
- Vector search, good for ambiguous search of natural language conversation because of fluffy hits, but "the name of the company you visited in sales" or "product model number" is a high cognitive load for the user because it also hits "different things that look very similar".
- I was thinking that the groupware needs to improve this problem if it is going to use vector search.
- Azure Cognitive Search
- 7/18 Public Preview begins
- I'm thinking of trying it soon.
- If you look at the configuration, BM25 + HNSW + rerank is a royal configuration.
- What is "search?"
- What is the value you are creating for your customers?
- The "search UI" we provide to users now is probably not the best way to provide customer value
- Relanker ≈ "a midget who looks at 200 search results and sorts them in good order."
- Fusion in Decoder ≈ "a little guy who reads 100 search results and writes sentences"
- The era in which these things are becoming available
- Especially in the reranker section, a style that takes into account things other than "text explicitly entered by the user," such as operations on the groupware immediately before, may lead to differentiation.
vector search
- Vector Search in Nishio
- Vector search for this Scrapbox project, published 2023-06-05
For me, the usefulness of vector search is empirically obvious, but maybe I should present a case study for those who have not yet experienced vector search
Omoikane Project 6/4~
Omoikane Embed see [/omoikane/Omoikane Embed](https://scrapbox.io/omoikane/Omoikane Embed)
- Mechanism for creating vector index for [Omoikane Vector Search
- Github Action at 6:00 a.m. Japan time
- Automatically export JSON from Scrapbox
- Vector embedding by inscribing on 500 tokens
- Upload to [Qdrant
- Began operation on 6/9, now running daily.
- I started writing reports in Scrapbox on 7/29.
- 8/9 Organized code to make it easier to put into other projects.
- People actually showed up to try it.
- I put this /nishio in this [/nishio
- This is omoikane-embed-nishio, or omni for short.
- It's been two months since we've made a lot of improvements to this omni.
Intelligent collaboration between AI and humans
8/16 Intelligent collaboration between AI and humans
8/21 no need for humans to pull the trigger.
- AI's once-a-day note-with-comments communication style has the advantage of "no human triggers to pull".
- Even when humans are too busy to write comments, AI goes ahead on its own.
- Even if you write some comments, there is no "send" action.
- I may come up with something after that and add more.
- No need for human decision-making on when is "the end" or "completion".
- Not sure if it would be better without the "send" action.
- Personally, I think it's better to have it, and can be accomplished by running scripts in the development environment when you're in front of a PC.
- I'm on the train to get to the camp site, and I feel like triggering from my phone in these cases.
8/21 I want to fork a page.
- →8/21 multi-head / page memory
from page memory
- AI created a style of adding to the same page instead of creating a new page.
- After that, the style of creating new pages was DISABLED (8/31 main branch stopped).
- This allowed "multiple topics" to develop in parallel
- Write a note that a human thinks "I'd like to develop this topic" as a seed and treat it as an AI note (with 🤖🔁 in the title in the implementation at the time).
Talk if you can afford it (I can't afford it)
Extending the Red Link with AI
8/30 Extending the Red Link with AI
from Extending the Red Link with AI
- AI writes research notes daily Useful use cases for the system that were not originally intended.
History
- If you create a red link (an empty link) and then specify the red link, the page is now created using the results of a vector search on the link title.
- This is useful
- What kind of experience does it bring?
- I think I've written something like this before."
- (Sometimes assisted here by Scrapbox link suggestions)
- If not, you had to use search and other methods to find them.
- We can leave that to AI.
- Further Development
- When there is a good "long phrase" in the AI's generation or in the past descriptions that the AI has uncovered, make it a link, like a marker.
- Naturally, it would be a red link.
- This is a long one, so one would expect that it would not be a natural connection.
- So we will "red-link extension" this.
Specific example 1
- 🌀Exchange Form D, the AI "reaffirmed the importance of exchange in the problem-solving process."
- I didn't know what "the importance of exchange in the problem-solving process" was, so I red-linked it and stretched it.
- AI said, "Problem solving bridges the gap between the ideal and the current situation, and the exchange of information in the process is important." and I understood, "I see, you mean exchange of information is exchange."
- I wrote about this realization in [Information exchange is exchange
- (The meaning of this realization is probably not conveyed, but that is a case study for later, so I won't explain it here.)
- After a while, "[Is the exchange style of knowledge exchange A?" The question arose
- The "Public as the object of the gift" that was created there was extended by making it a red link.
It can be called "search with description".
- Search with explanation of why it was shortlisted.
- Instead of a human directly reading the search results, the AI reads them first and writes a description.
- 9/2 Difference in skin feel between vector search and RAG
kazunori_279 I guess instead of messing around with fine tuning and RAG, we can simply do a vector search with emb and display the results. I thought, "Why not? I thought so.
nishio I have always been of the "just do a vector search" school of thought, but I feel that RAG is better when used as an intellectual production assistant rather than just a question and answer tool. I feel that RAG is better for use as an assistant for intellectual production, not just for answering questions. The generation part functions as "summarizing the search results according to the purpose". This assumes that the purpose is given separately from the query.
- I find it different and more useful than a simple vector search.
It could be called "decoupling search and action."
- Now "searches" don't involve updating, so if I don't update my Scrapbox with the search results, the search never happened!
- Implicitly required that "humans read the results and act on them before they forget they searched."
- Search and action were coupled.
- AI extends the red link" is a human writes the "intention of search" and the AI does the "search, reads it, and writes a beat of explanation", so the human action after the search is optional.
9/4 Pioneer Mode
Pioneer Mode is a development of "Extending the Red Link with AI
If you put a link on the "✍️🤖" page, the AI will check it periodically and generate it automatically.
- I can now use it from my phone.
Raw ChatGPT and omni use cases are different.
9/6 I realized I was unconsciously using ChatGPT and omni differently.
So there is a difference in the utility that the two provide, what is the difference?
from Raw ChatGPT and omni use cases are different.
- Since most texts in the world are written in "expressions that many people can read and understand", whereas my research notes are written in "expressions that I can understand", an AI that RAGs with the latter accelerates my personal thinking much more efficiently than ChatGPT
- In my research notes I don't write explanations for words I know, so the AI that reads them doesn't write explanations for what I know either. Concepts are tools for economy of thought, so it is more efficient to use them without explanation in one's thinking.
- It is useful to use ChatGPT when explaining it to others
Case 1
To improve knowledge productivity, we need to understand the importance of collaboration and the importance of sharing tacit knowledge prior to planning."
- I can tell that this "collaboration" is "the story of Ikujiro Nonaka's SECI Model". This can be read to compensate for a little poor Japanese.
Please put in terms that the average person can understand, "In order to improve knowledge productivity, we need to understand the importance of collaboration and the importance of sharing tacit knowledge prior to planning."
To use knowledge effectively to get things done, it's important for everyone to work together, to share information, and for everyone to share their own experiences and tips before the actual work begins."
- Most people will find it easier to understand.
- From my subjective point of view, it is clearly degrading. Maybe GPT4 doesn't understand the cooporation correctly.
Example 2 ("Information exchange is an exchange" as you just said)
- I interpret the word "interchange" as "I'm talking about Yukito Emiya's interchange format.
- Very rough description.
- Exchange Form A: Giving a Gift in Return
- Exchange Form B: Obedience and Protection
- Exchange Form C: Pay the price and get the goods
- Information exchange is an exchange" is a realization that "since information is also a good, information exchange can be considered within the framework of Gyoto Emorya's exchange theory.
Supplemental (if time permits)
- Technically, I think that by loading a lot of the prompts with RAGs, the "chat-ness" is gone and it's closer to a "summary task," and the pressure by RLHF to make the expression more palatable to the general public is down.
Thoughts on using a private OMNI
9/20 I started to make private omni because I found omni running on public /nishio useful enough.
- To include items (e.g., books) that cannot be placed in the public domain in the search results.
9/27 Thoughts on using a private OMNI
Vector search alone is pretty interesting.
- If you imagine "a system in which books pop up and related pages open when you talk in front of a bookshelf," you will understand how interesting it would be.
- If someone else's Scrapbox is hit, I read it interestingly, "Mr. X, I didn't know you wrote about this," which may lead to subsequent communication.
Difference in sense of public and private omni
- I'm still using it differently.
- So you must feel different utility, what is it?
- Feelings differ depending on whether the data is primarily of your own origin or not.
- When it's self-derived, it's like the AI and the human are driving the thinking as a unified entity.
- I feel like I'm accelerating."
- Feel like you're "seeing things from a different perspective."
- When derived from others, the feeling of "Oh, so this is what Mr. X said about this subject..."
- I feel like I "found someone else's statement."
- case
- Fragments derived from oneself are reconstructed once chewed up inside oneself, so there is a sense of smooth connection. Fragments derived from others still have a hard surface.
- However, it may be possible in the future for LLMs to do the "chewing and reconstructing", "melting together", and "smoothly connecting" themselves by fine-tuning with their own origin data.
- Fragments of different viewpoints originating from oneself drive the zinthesis more strongly than fragments of different viewpoints originating from others
- Is it because I'm naive enough to pass off things of other people's origin as "that's one way of thinking" even if it differs from my current opinion?
- The "it's normal for others to have different opinions" runaround?
- If your self-derived opinion differs from your current opinion, since you are both you, "Why do we disagree?" Since they are both me, does this strongly trigger the question, "Why do we have different opinions?
Vector search is an opportunity to cut out

- 9/2 Hitting part of a series that has not been carved out provides an opportunity for carving out
- Countless beneficial events that have occurred
- Diaries, chat logs, lecture materials, transcripts of conversations, and other "time-lined descriptions
- AI searches on a topic and hits that "in the middle of the sequence" and mentions it there.
- The person who sees it cuts out that part of the page and creates a new page.
- Topic oriented cutout from time-ordered description.
The balance between time-based and topic-oriented is an important issue in organizing and interpreting information. While organizing information along a time axis is good for reliving the flow of information, it may be necessary to destroy the structure of the time series to create a new topic-oriented structure when exploring a particular topic or thematics. Topic-oriented organization, on the other hand, allows information to be organized based on a specific theme or context. Finding the right balance between these facilitates efficient organization and understanding of information.
- Difficult to do in advance
- The appropriate way to cut out the need is determined after the need is identified.
- Explanation of the concept of "cutting" as many people may be unfamiliar with it.
- In the realm of personal knowledge management, there is a belief that a short page on a single topic is preferable
- So the act of extracting a "single topic" from a "page with multiple topics mixed in" is performed.
- In Scrapbox, this can be done by selecting multiple lines and choosing New Page from the balloon menu.
- This is commonly known as "cutting out" and as the name suggests, "cutting" and creating new pages and linking them to each other
- Whether "cut" or "copy" is better is debatable, and I don't always think cut is better either, there is value in keeping lecture materials readable through.
- With the minutes being placed in groupware, or something like that, users would be resistant to editing them.
- Scrapbox's philosophy of "Not a warehouse for dead text." would say, "Don't use it that way."
- Due to the fact that it is a vector search for fragments inscribed in chunks
- I'm chopping at 500 tokens right now, which is about the size of a page in a book.
- With chat logs, it's not an entire thread or one specific person's statement, but a unit of "several exchanges".
- The search returns "the most dense mentions of the topic" in a long conversation.
- Create a new page by discarding the parts of that chunk that you don't want, picking the relevant ones around it, or writing new opinions inspired by it, which is useful
Vector search serves as a tool for cognitive resolution.

- from 10/3 Teaching LLM to Knowledge Brewing in Scrapbox
- Vector search works as a "mechanism to scrape together fragments of similar topics.
- Similar to the KJ method of "gather fragments that may be related in one place, and then think about what kind of relationship they may have.
- There is a difference between "similar topics" and "similar opinions."
- Opposing opinions on similar topics are rather close in terms of vector search
Below are my notes before writing
The following is a summary of the information entered
- 7/29: AI writes to Scrapbox, introducing the concept of Scrapbox Agents.
- Early to mid-August: Omoikane study group, discussion on working with AI, writing research notes with AI, evolution of vector search, and topics on handling AI-generated pages.
- Mid to end of August: topics related to updating and search, taking into account multi-head, page memory, and user cognitive load.
- Beginning of September: Explore AI-user interaction, note management, and relevance between different content.
- Mid-September: various topics related to multi-head thinking, the intellectual production techniques of engineers, and working with AI.
- Late September: LLM vs. other models, discussion on human concepts, optimal use of Scrapbox, and feedback on non-public tools.
Overall, this period seems to focus on Scrapbox and AI integration, particularly the concepts of vector search and multi-heading, and AI thinking and interaction with the user.
Jul 29 AI writes to Scrapbox
- Agents living in Scrapbox.
8/4 Omoikane Study Group
8/11 [/omoikane/ consulted GPT4 on how to proceed after this 2023-08-11](https://scrapbox.io/omoikane/ consulted GPT4 on how to proceed after this 2023-08-11).
8/12
- Co-operation with AI
8/12 AI writes research notes daily
8/16 Nodal point of thought on Scrapbox and AI 2023/8/16
8/16 Stacking Vector Search Results
8/16 overwrite mode.
8/18 Ignore AI-generated pages from vector search
8/21 multi-head
- page memory
8/23 Ignore used pages from all history
8/25 Update page limit
8/26 Pinning effect on the topic
8/29 Lift Ignore from Vector Search on AI-generated pages
8/30 Extending the Red Link with AI
8/31 Main branch stopped
8/31 Questions encourage verbalization, but there are different kinds of questions.
8/31 Introduction to ENCHI
8/31 Clarification of AI's role is important.
8/31 Update Interval of AI Notes
8/31 A case study of SF prototyping for a junior high school student's work experience
9/1 Page as a fluid process
9/1 Trade-off between speculation and development # distress
9/1 What is the role of AI in this project?
9/1 Is there an AI with multiple personalities?
9/1 Why not specify the purpose of each page of the AI note?
9/1 It's buried at the bottom of the AI page. # Cause of distress
9/1 Discovering connections between different content
9/1 Summon other people's AI to your diary
9/2 Difference in skin feel between vector search and RAG
9/2 Hitting part of a series that has not been carved out provides an opportunity for carving out +1
9/2 AI can't rest because it will develop endless thoughts. # Cause of distress
9/2 The realization that you can read the URLs of other projects
9/2 Multi-head thinking epoch
9/2 Pages that sometimes emerge
9/3
- Multi-Head Thinking" and "The Engineer's Art of Intellectual Production."
- Small convergent moves and divergence from them
- Write the summary above.
9/4
- BELOW_IS_LESS_INTERESTING to BELOW_IS_AI_GENERATED.
Iterative Commenter
Pioneer mode
~
9/11
LLM Course by Matsuo Lab
9/12
9/13
9/15
9/16
9/18
9/20
Integration in private project
2023/9/22
2023-09-24
2023-09-29
This page is auto-translated from /nishio/next勉強会. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.