Crafting Interpretable Embeddings by Asking LLMs Questions
Paper · 2024 · Vinamra Benara, Chandan Singh, John X. Morris et al.
Summary
A text embedding turns a passage into a list of numbers. Those numbers can help predict how someone’s brain responds as they listen to a story, but they rarely tell a researcher which properties of the story matter for the prediction. The authors introduce question-answering embeddings, or QA-Emb, to make those properties visible. Each position in the embedding has an assigned yes-or-no question. An answer can indicate whether a passage describes a physical setting, for instance. The researcher can read the question, examine the answers assigned to passages, and see how strongly the resulting feature contributes to a prediction. This gives interpretability a concrete purpose in the experiment.
The authors use large language models both to propose questions and to answer them. Proposing questions defines what the representation can look for. Answering those questions turns each passage into features that a separate predictor can use. The main test uses functional magnetic resonance imaging, or fMRI, recorded while 3 people listened to narrative podcasts. QA-Emb reaches an average test correlation of 0.116 for predicting brain responses, a 26% average improvement over Eng1000, an established representation whose features describe word co-occurrence. It also slightly exceeds BERT in this comparison and falls below the strongest LLaMA baseline selected through cross-validation.
On held-out stories for subject S03, a version using 29 questions achieves a mean test correlation of 0.122, compared with 0.118 for Eng1000. The smaller set gives the authors a way to inspect the spatial pattern of fitted weights for individual questions. The weights for a question about physical settings overlap with areas previously associated with places. A question about grammatical complexity produces a pattern resembling the language network. These maps show where particular text features contribute to the prediction and give researchers associations they can investigate further.
Answering every question separately is expensive, and a readable question can still receive an inaccurate answer. The authors train a separate system to approximate all the answers in one pass. Its probability-valued features come close to the original representation in a separate fMRI comparison. Tests on diverse binary classification datasets show that question-answering accuracy varies, with some distinctions remaining difficult. The paper also explores information retrieval and text clustering. QA-Emb adds a modest benefit when combined with BM-25 in the retrieval experiment, and filtering a shared question list improves class separation in the clustering experiment.
Deep dive: Crafting Interpretable Embeddings by Asking LLMs Questions
QA-Emb turns yes-or-no answers into readable text features and tests how well they predict brain responses to spoken stories. · about 34 minutes to read
The problem and its context
What a coordinate can tell a researcher
A useful text representation preserves something about its input. Which things it preserves depends on how it was made. A bag-of-words representation records information about the words that occur in a passage. A contextual representation can preserve more about how those words work together. If the purpose is to predict a response, that extra information is valuable. If the purpose is to understand the response, a researcher also needs some way to describe the information the prediction used. A representation can be effective for the first purpose while leaving much of the second job unresolved.
Consider a story passage that describes a room. A representation based on words gives a researcher recognizable entries to inspect. A contextual embedding may also capture the description, including details that depend on the words around it, but the position of a number in that embedding generally does not identify the property it expresses. Several positions together may carry information about the room, its occupants, and what is happening there. Even a predictor that uses those positions in a simple calculation can be hard to interpret because the meaning of its inputs is unclear.
The paper treats this as a problem of choosing the vocabulary of a representation. The vocabulary need not consist of individual words. It can include a property such as whether a passage describes a physical setting, which can hold across passages with quite different wording. A useful coordinate should let the researcher identify the intended property, inspect when the system assigns it, and relate it to a prediction. Each of those steps answers a different question about the resulting analysis.
The paper places this problem alongside several established uses of embeddings. Search systems use them to compare a query and a passage. Clustering procedures use them to decide which passages belong together. In scientific work, a representation can stand in for measured properties of language in an experiment. An opaque similarity score is an obstacle when a user wants to know why a passage was retrieved. An opaque feature space presents a related difficulty in neuroscience, where the point of building a predictor frequently includes understanding how language relates to activity in different parts of the brain.
Earlier ways to build and inspect representations
The paper describes a shift from readable representations such as bag-of-words and BM-25 toward embeddings learned with transformers. It cites Sentence-BERT, SimCSE, and ColBERT among the approaches that helped make these representations useful. Their relevance to QA-Emb is that a system can capture contextual relationships without organizing its coordinates around properties a reader can name. The authors also discuss sparse representations and embeddings with variable lengths. Sparsity or a shorter vector can improve how a representation is stored or used, while the meanings of its entries remain a separate issue. Sentence-BERT · SimCSE · ColBERT
The distinction also matters for earlier word embeddings such as word2vec and GloVe. The word associated with a vector is known, but the vector’s individual entries do not arrive with names. For some tasks, the paper notes, predictions that rely on dense embeddings can be expressed in a space defined by words. The authors distinguish that route from selecting a sparse collection of features directly in the original representation. Removing coordinates from a dense embedding by itself leaves the user with the meanings of those coordinates still to establish. word2vec · GloVe
Another line of work starts with a representation that already exists and asks what information can be recovered from it. A probe, for instance, can test whether a representation helps predict a linguistic property. Other approaches assign descriptions to individual units or look for a meaningful direction spanning several units. Work on similarity explanations tackles a narrower question, such as what two particular passages share that could account for their closeness. These methods operate at different levels. Evidence that a linguistic property can be recovered from a vector establishes something about the information available there. A name attached to a unit or direction is an attempt to say where such information is expressed. QA-Emb assigns names before constructing the representation, so the remaining question is how faithfully the coordinates follow those names and how useful they are together. Probing sentence embeddings for linguistic properties · Network Dissection
The paper also describes earlier uses of autoregressive language systems for building embeddings. Some methods use these systems to create examples for training. Others use their internal outputs, including the distribution associated with the last token, as representations. The closest precedents in the paper use answers to prompts for purposes such as text classification and data exploration. In automatic prompting, the object being sought is frequently a prompt that elicits a useful response. QA-Emb poses a related search problem in which the object is a collection of questions. The collection matters because the usefulness of any one question depends in part on what the other questions already cover.
Why brain-response prediction is the main test
In the neuroscience setting, an encoding model takes a description of a stimulus and predicts a measured brain response. Here the stimulus is a spoken story, and the measurements come from small regions called voxels. The paper describes earlier uses of language encoding models to study the timescales over which the cortex responds to language, the relationship between visual and semantic information, and the contributions of syntax, meaning, and discourse. In each case, the way the stimulus is represented shapes the kinds of explanation the researcher can draw from a successful prediction.
Eng1000 provides a particularly relevant precedent. It was developed for predicting responses to narrative speech, and its entries describe co-occurrence with recognizable words. A question-based feature can express a different sort of property, such as whether a portion of a narrative involves a physical action. That property may be recognizable across many different word combinations. A neuroscience researcher can write a hypothesis in those terms and use it to define a candidate feature, alongside other questions about the same passage.
The authors develop their main experiment with neuroscientists. Their aim is to make the assessment of interpretability specific enough to judge in use. In this setting, a feature is valuable if it makes a meaningful property available to a predictor, contributes to held-out prediction, and supports inspection of the fitted relationships across the cortex. Those goals motivate both the choice of a linear predictor and the comparison between a large candidate pool and a much shorter selected list. Towards a Rigorous Science of Interpretable Machine Learning
The method, step by step
Turn answers into coordinates
Start with a passage and a list of questions about it. A question could ask whether the passage refers to time. Another could ask whether it depicts a physical action. Each question is paired with the passage in a prompt. The system’s affirmative or negative answer supplies the value at the corresponding position in the vector. A different passage can produce a different value in that position, while the question attached to the position stays the same. This is how the authors use question answering to define the representation.
The basic representation is binary. An affirmative answer is encoded as 1 and a negative answer as 0. A reader can go from a coordinate back to the wording of its question. This is possible even if the person inspecting the representation has no access to the internal parameters or activations of the system that answered it. The numerical entry records what the answering system judged about the passage. Checking that judgment against the text remains a separate part of interpreting it.
The questions determine which distinctions the representation can express. If a list covers actions, places, and objects, two passages can differ along those axes even when they share few words. If the list never asks about a property, that property has no dedicated coordinate. It might still correlate with some of the available answers. For the neuroscience application, this matters because the choice of questions makes some hypotheses easy to express and leaves others implicit.
From story text to fMRI predictions with QA-Emb
The steps in order.
Generate candidates before selecting features
The authors separate generation from scoring. For generation, they ask GPT-4 for questions that might be useful for describing language in the target task. The specification can name the kind of text, describe the application, or show examples. In the fMRI study, 6 prompts produce 674 candidates. Some ask for broad semantic properties or properties of first-person narratives. Others ask the system to draw on neuroscience and psychology, use passages from the study, or produce questions in the spirit of earlier natural-language descriptions of individual voxels. GPT-4 Technical Report
The examples serve different functions in those prompts. Narrative passages show the system what a candidate will have to describe. Previously generated questions show what the list already covers. In the prompt that supplies both, GPT-4 is asked to look for properties shared by multiple narrative examples and to complement the existing coverage. That design leaves room for questions suggested by the text itself as well as questions motivated by prior knowledge about how language is processed.
A question generator has no direct measure of whether its suggestions will predict activity on unseen stories. After generation, the authors answer the candidates on the stimulus text, turning each one into a column of observations that can be tested against the responses. Multitask Elastic net selects features in the neuroscience experiment. This is a regularized fitting procedure that can set feature coefficients to zero while considering multiple response dimensions together. The authors try 20 logarithmically spaced settings for its regularization parameter, from 10⁻³ to 1, and use scikit-learn’s MultiTaskElasticNet implementation. Ridge regression then fits predictions using the selected features.
This arrangement gives selection and prediction different jobs. Elastic net provides a way to obtain shorter question lists from the original pool. Ridge regression determines the weights on the retained features. Removing a question at the selection stage removes its coordinate from the representation. In the fitted predictor, a retained question can have a stronger relationship to some response dimensions than to others. Thus both the membership of the list and the fitted weights are available for inspection.
The paper describes other ways to choose questions. A system can be given an existing list and a description of a new task, then asked which questions suit that task. That is the approach tested in the clustering experiment. The authors also describe an iterative option in which a system examines examples with large prediction errors and proposes questions aimed at what those examples share. The reported fMRI pipeline uses the prompt-generated pool and feature selection. The error-driven procedure is presented as a possible way to generate candidates.
Answer questions in a consistent format
In the main setup, Mistral-7B and LLaMA-3 8B supply answers. The paper uses the instruction-tuned checkpoints mistralai/Mistral-7B-Instruct-v0.2 and meta-llama/Meta-Llama-3-8B-Instruct. The standard prompt presents the input and the question, asks the system to give its decision first, and requests an explanation afterward. The feature uses the decision. The other prompt illustrates the desired output with answered examples. Those examples show both affirmative and negative cases, including questions about laughter, food preparation, figurative language, and sports. The new passage and question follow the examples. This is an application of few-shot learning through prompting. Mistral 7B
A single answer is binary, whereas the main answering setup averages answers across the systems and prompts. Its combined coordinate can therefore express agreement or disagreement among those judgments. A single binary output and an average of binary outputs use the same question as a label, but the values have different readings. The first records one decision. The second summarizes several decisions. A fractional ensemble value records that the answers were mixed. It does not directly measure how much of the named property is present in the passage.
GPT-4 is used for question generation through gpt-4-0125-preview. The answering systems are already trained and their parameters are left fixed during the main procedure. The study still involves learning: the questions are chosen for the task, and the response predictor is fitted to observed data. Later, in the distillation experiment, the authors do update the parameters of a separate system so that it can reproduce the answers more efficiently. Keeping those stages separate helps distinguish learning the questions, learning to use the resulting features, and learning to approximate their values.
State the selection problem precisely
The paper describes the underlying binary representation with the following notation.
Q ∈ 𝒬ᵧₑₛ/ₙₒ
Here Q is a candidate question set. The symbol ∈ means that Q belongs to the admissible collection, denoted by 𝒬ᵧₑₛ/ₙₒ. The yes/no subscript identifies the restriction that the questions should admit binary answers. The paper does not specify a complete inventory of admissible questions. This is a search over possible natural-language formulations as well as possible subsets.
v_Q(x) ∈ {0, 1}ᵈ
Here x is the input string, and v_Q is the mapping that turns a string into the vector defined by Q. The braces give the allowed values, with 0 for a negative answer and 1 for an affirmative answer. The superscript d is the number of feature positions, each corresponding to a question. This expression describes the underlying binary design. Averaging answers or using affirmative probabilities, as in other parts of the study, relaxes the restriction on the value of a coordinate while retaining its question.
Y ∈ ℝⁿˣᵈ
Y denotes the collection of continuous training responses, and ℝ denotes the real numbers. The superscript describes an array with n rows and d columns in the paper’s notation. The index n counts training strings, and the columns represent response dimensions. The paper also uses d for the number of question features. The experimental setup treats the number of retained questions and the number of predicted response components as separate quantities.
Q = argmin_{Q ∈ 𝒬ᵧₑₛ/ₙₒ} [min_{θ ∈ ℝᵈ} Σᵢⁿ ‖Y⁽ⁱ⁾ − θᵀ v_Q(X⁽ⁱ⁾)‖ + λ‖θ‖₂]
The outer argmin denotes selecting the Q that minimizes the bracketed objective. The inner min finds the smallest objective over coefficient vectors θ for a given set of questions. The expression θ ∈ ℝᵈ says that the coefficient vector has real entries indexed by the feature positions. X is the collection of training strings, and the parenthesized superscript ⁽ⁱ⁾ selects example i from X or its observed response from Y. The transpose ᵀ lets θᵀ multiply the feature vector v_Q(X⁽ⁱ⁾) to form a linear prediction. The minus sign inside the first pair of norm bars forms the residual, and the bars denote its magnitude. The sum Σᵢⁿ accumulates the residual term over the training examples. The plus sign adds the regularization term, λ controls its strength, and the subscript ₂ identifies the Euclidean norm of θ.
The displayed equation is the paper’s schematic objective. It prints both norms without squares and uses vector notation for the predictor, while the experiment fits ridge predictors for multiple continuous response components. The operational procedure matters for interpreting the result. The authors generate a finite candidate pool, select features from that pool, and fit regularized predictors. They do not solve the outer minimization over arbitrary natural-language questions. The equation shows what the search is supposed to accomplish: obtain questions whose answers support accurate prediction after the weights have been fitted.
This also explains why the representation can transfer to tasks whose objectives look different. Given a set of questions, the downstream procedure decides what counts as a useful answer pattern. A regression can use an answer to raise or lower a prediction. Retrieval can use shared answers to help a query and a passage rank nearer to each other. Clustering can use a subset of the same questions to emphasize distinctions that matter in a particular collection. The meaning assigned to a coordinate is readable in each case. Its role in the calculation depends on the task.
Align the text with the measured response
The story is represented as a succession of short windows. At the timepoint associated with a word, the authors take the preceding 10 words and obtain an embedding for that sequence. Here an n-gram is simply a span of consecutive words. Adjacent spans cover much of the same text. They can still produce different judgments when the narrative introduces a new element or when a word drops out of view. N-gram
The word times and the fMRI sampling times need to be brought onto a common grid. The authors use Lanczos resampling, an interpolation procedure that estimates the feature values at the relevant measurement times from the sequence of word-aligned vectors. They also include copies of features shifted in time to account for delays between the stimulus and the measured fMRI response. Cross-validation considers 4, 8, or 12 lagged copies. An answer computed for one word window is therefore part of a time series. The predictor can draw on answers from multiple earlier points when estimating the response at a scan time.
Before fitting the predictor, the authors reduce the dimensionality of the brain data. Each person’s recordings contain roughly 100,000 voxels. Principal component analysis, or PCA, expresses the responses in terms of patterns of variation distributed across voxels. The regression predicts the coefficients of the top 100 components. At evaluation time the inverse mapping turns those predicted coefficients back into a response in voxel space. The reported correlations concern those voxel predictions, so the components are an intermediate representation of the target.
The hyper-parameter selection uses 5 time-stratified bootstrap samples from the training data. These are resampled portions used to compare settings within the training material, with the time organization taken into account. The ridge sweep covers 12 logarithmically spaced values between 10 and 10,000. The authors also evaluate the alternative numbers of lagged copies there. The held-out stories serve a different role: they test whether the fitted prediction transfers to new narrative material for the same listener.
Adapt the representation for retrieval and clustering
For retrieval, the authors generate 2,000 questions with GPT-4, using a prompt about the kinds of queries found in search. They adjust the wording by a pattern-based text replacement so that the same property can be asked about a query and a document. A question about whether a query refers to a particular period, for example, becomes a question about whether the text refers to one. LLaMA-3 8B answers the questions on both sides. The result makes corresponding coordinates comparable even though a query and a candidate document play different roles.
The retrieval training procedure learns a scalar multiplier per question. It scales the answer before the similarity calculation, changing the contribution of that coordinate. The paper describes an objective with a negative cosine-similarity term for a query and its relevant documents and a positive term for that query and the other documents. Minimization therefore favors higher similarity for the known matches and lower similarity for the rest. The relevant-document term has 10 times the weight of the other term. The authors use Adam with a learning rate of 10⁻⁴ and run for 8 epochs, by which point they report that the training loss appears to have leveled off. Adam
For clustering, the authors generate 25 questions per dataset and combine them in a 100-dimensional representation. The full question list is intended to span several domains. To adapt it, GPT-4 receives that list and a description of the target task and selects a subset. Each retained coordinate keeps its original meaning and answer. The adapted embedding changes which coordinates are included in the distance calculation. This experiment tests task adaptation by selecting questions from text, without fitting weights to labeled examples for the selection.
The authors release the QA-Emb code and the generated questions. The appendix describes the prompt designs and gives an extended account of the experimental settings. The code accompanies a method whose question lists, answer prompts, feature selection, and downstream fitting can each be inspected as distinct parts of the procedure.
Experiments and results
Predicting responses to held-out stories
The fMRI data come from studies by LeBel and colleagues and Tang and colleagues. The recordings cover 3 people listening to 20+ hours of stories from podcasts. For each listener, the paper describes either 79 or 82 stories for fitting, with 27,449 time points, and 2 test stories with 639 time points. The held-out unit is an entire story. This setup tests the ability to predict responses to unfamiliar narratives using the recordings already available for a particular listener.
The performance measure is the correlation between the predicted and observed response over test times for each voxel, after the predictions have been mapped back from the principal components. Correlation measures whether the two series tend to rise and fall together. A method can score well by tracking that variation even if its predictions differ in magnitude from the recorded response. The study summarizes the correlations and also examines their distribution over the cortex. These summaries answer different questions. An average compares overall performance, while a map can show where useful prediction is concentrated.
Eng1000 is the main interpretable baseline. It has 985 features describing co-occurrence with words, and it was designed for narrative fMRI prediction. The paper also compares with the BERT checkpoint bert-base-uncased and with LLaMA embeddings. For each subject, cross-validation selects from 5 layers of each LLaMA variant in the sweep. For LLaMA-2 7B and LLaMA-3 8B, those are layers 6, 12, 18, 24, and 30. For LLaMA-2 70B they are layers 12, 24, 36, 48, and 60. The reported LLaMA test result uses the option chosen on the basis of cross-validation. This matters because predictive information available in an internal representation can depend on the layer from which it is taken. BERT · Llama 2
QA-Emb achieves an average test correlation of 0.116 across subjects. The authors report a significant improvement over Eng1000, with a 26% average improvement. They report a 5% improvement over BERT and a 7% decrease relative to the best cross-validated LLaMA alternative. The ordering is consistent across all 3 subjects. The comparison puts the result in perspective. A question-based representation can be competitive with a contextual embedding and improve substantially on the previous interpretable baseline, while the strongest LLaMA features in the comparison still provide the best prediction.
The paper’s main performance figure reports standard errors below 0.001 for the overall comparison and the feature-count curves. Those uncertainties describe the estimates shown in the figure. The number of people is a separate consideration when judging how broadly the result can be expected to hold. Likewise, the correlative nature of the metric is relevant when interpreting the numerical advantage. It establishes better tracking of responses under the evaluation procedure.
How much prediction survives a shorter question list
The feature-count analysis for S03 asks how quickly the performance improves as the system is allowed to use more features. This comparison is particularly important for a representation meant to be read. A list can give a meaning to every coordinate and still be too long for a researcher to inspect easily. The relevant test is how far the list can shrink while preserving useful prediction.
The authors use Elastic net to vary the number of retained features. On the S03 test stories, QA-Emb with 29 questions achieves a mean correlation of 0.122, compared with 0.118 for Eng1000 at its final performance in the same comparison. The baseline’s 985 co-occurrence features provide a sense of scale. The question-based list expresses broader properties of the story, and the feature-count curve shows that useful prediction appears with relatively few of them. The numbers in this comparison are for S03. The headline average of 0.116 describes the cross-subject result under the main evaluation.
QA-Emb and Eng1000 on the S03 fMRI test stories by mean voxel correlation
The short QA-Emb question list exceeds the final performance of Eng1000.
The numbers
| System or setting | mean test correlation |
|---|---|
| Eng1000 | 0.118 |
| QA-Emb with 29 questions (this paper) | 0.122 |
The map of S03’s test correlations shows where QA-Emb tracks the observed responses well. The authors report that the better-predicted regions align with language-related areas described in the neuroscience literature. They also compare the correlations for QA-Emb and BERT at each voxel. The differences lack a stable spatial pattern across participants. The overall comparison is therefore easier to state than a claim about a particular region consistently benefiting from the switch to question features.
Predicting the answers in one pass
The efficiency experiment uses fine-tuning to train a RoBERTa-base system to reproduce the answers that LLaMA-3 8B gives with the example-based prompt. The authors add 674 classification heads, one for each candidate question. A head is an output predictor attached to a shared text representation. The shared part processes the passage once, and the heads use that representation to estimate the respective answers. The output positions retain their assigned questions. RoBERTa
The training units are the 10-word windows from the stories. The authors use 80% of the windows from the 82 fMRI training stories, or 123,203 examples, to train the answer predictor. The remaining 20%, or 30,801 examples, are used to decide when to stop training. Evaluation uses all 4,594 windows from the 2 held-out stories. These counts are text windows, which are distinct from the scanner time points used in the response evaluation. The optimizer is AdamW with a learning rate of 5·10⁻⁵. Decoupled Weight Decay Regularization
In the held-out windows, the distilled system obtains an 88.5% match to the teacher’s yes-or-no answers. The authors then test the distilled embeddings in the fMRI prediction pipeline. When its outputs are converted to hard decisions, the system performs slightly below the original. When the estimated probability of an affirmative answer is used, the resulting features yield an average test correlation of 0.113, close to the original system’s 0.114 in this separate comparison. The probability-valued version maintains a significant improvement over Eng1000.
Original and distilled QA-Emb on held-out fMRI stories by average test correlation
The distilled system using affirmative probabilities comes close to the original question-by-question system.
The numbers
| System or setting | average test correlation |
|---|---|
| Distilled QA-Emb with affirmative probabilities | 0.113 |
| Original QA-Emb (this paper) | 0.114 |
Answer agreement and brain-response correlation measure different outcomes. Agreement asks how often a prediction copies the teacher on a text window and a question. Brain-response correlation asks how well the features work together after they are aligned in time and used by the fitted predictor. Many windows and questions contribute to a response estimate. As the authors point out, this gives individual answer mismatches less opportunity to dominate the final prediction. The close downstream result establishes an approximation for this pipeline, where quality at the level of the final prediction matters.
How often the answers are right
The paper evaluates answer accuracy separately using the D3 collection of 54 binary classification datasets. Each dataset defines a distinction that can be phrased as a yes-or-no question and supplies text examples with labels. The tested systems are GPT-4, GPT-3.5, Mistral-7B, and LLaMA-3 8B. Accuracy measures agreement with the dataset labels, which makes it a different test from agreement with a teacher in distillation. The paper shows individual dataset results with 95% confidence intervals.
The systems perform fairly well on average, with GPT-4 slightly ahead, according to the authors. Performance varies considerably across questions. For the most difficult dataset in their comparison, the question concerns whether a passage is about mathematical research. Texts in the negative class come from other quantitative fields, including chemistry. They may contain notation, numbers, and statistical analysis. The answering systems tend to say yes to these passages as well and achieve accuracy near the 50% chance level. The example shows how a question can sound clear while its correct boundary is much harder to apply.
These passages are generally longer than the fMRI inputs. D3 has an average length of over 50 words, and some examples exceed 1,000 words, whereas a window in the fMRI study spans 10 words. The authors also view the fMRI questions as relatively simple compared with the range of distinctions in D3. The separate accuracy study gives evidence about how question-answering can fail. Its aggregate results measure performance on D3, where reference labels are available.
Finding documents and separating classes
The retrieval experiment takes a random sample of 4,000 MS MARCO queries and their corresponding relevant documents, yielding a collection of 5,210 documents. The authors train on 25% of the queries and keep 75% for testing. A query is represented in the same question space as the documents and compared using cosine similarity, which measures the alignment of the resulting vectors. The reported retrieval metrics are mean reciprocal rank and recall. Reciprocal rank gives greater credit when the first relevant item appears earlier in the ranking. Recall measures how much of the relevant material the ranking retrieves. MS MARCO
The authors compare the question features with readable baselines including bag-of-words and BM-25. On its own, QA-Emb does slightly better than bag-of-words and falls significantly below BM-25. The combination of QA-Emb and BM-25 yields a small, significant improvement over the interpretable baselines. The comparison shows that the question features supply some useful information alongside BM-25 in this corpus. Their compactness also reduces the amount of material a person would need to inspect to identify which questions a query and a document have in common. The paper gives the retrieval comparison as a secondary result in a simplified setting.
The clustering experiment uses Financial phrasebank, Emotion, AGNews, and Rotten tomatoes. The class labels define the groups used in evaluation. For each dataset, the authors measure distances between embeddings using Euclidean distance and compare average distances between classes with average distances within classes. The score is the gap obtained by subtracting the within-class average from the between-class average. A higher score indicates that class membership is reflected more clearly in the geometry of the representations. Seeing Stars
The unfiltered 100-dimensional representation gives relatively weak separation. Once GPT-4 selects a shorter question list for the dataset, the clustering scores increase. The relevant comparison holds the pool of available questions fixed and changes which answers count as coordinates in the distance calculation. Labels determine the groups used to evaluate the outcome. The pruning prompt can act on a description of the task and the list of questions; it does not need labeled training examples to choose the subset. This is the zero-shot adaptation demonstrated by the experiment.
What the ablations show
Feature selection and the cost of extra questions
The feature-count comparison is the paper’s most direct test of what happens when the neuroscience predictor receives a smaller representation. It follows held-out performance as Elastic net retains different numbers of features. QA-Emb improves rapidly with the number of included questions and passes Eng1000’s final performance with a short list for S03. The controlled quantity is the number of features used, under a selection procedure that chooses them for their contribution to the prediction. The result supports the usefulness of a selected subset from this pool. It leaves open how well a different subset of the same size, chosen independently, would predict.
This is also a comparison between different kinds of coordinates. An Eng1000 coordinate has a particular word as its reference point. A question can draw together examples that share a property even when they have different words and constructions. The compact result is consistent with that wider coverage per feature. The comparison varies the representation as a whole, including the way its values are produced and the properties available for selection. It therefore cannot assign the advantage to semantic scope alone.
Question counts also understate how much numerical information enters the timed predictor. The named questions define the stimulus feature types, but the regression receives lagged versions of those features, and the data contain successive windows from the same narrative. A compact language description of the model is useful because a reader can grasp what kinds of properties are being tracked. The fitted predictor also depends on when those properties were detected and how their lagged values were weighted.
The paper’s appendix describes a sweep over prompts and answering systems with the number of lagged delays fixed at 8. Its table caption reports that the ensemble generally yields a small gain and that Mistral slightly trails LLaMA-3 8B. Fixing the delay setting makes differences in the comparison less confounded by choices about temporal alignment. The small ensemble advantage is evidence that the prediction benefits from combining these answer configurations. How the ensemble changes particular judgments, and whether it improves agreement with a human reader for particular questions, are separate issues.
What the maps of fitted weights add
The voxel-level analysis distinguishes maps of prediction quality from maps of feature weights. A prediction-quality map shows where the system’s output follows the measured signal. A weight map shows where a named feature participates in the fitted calculation. A region can be well predicted by several features together. A prominent weight for a question expresses a conditional relationship in the predictor, given the other features supplied to it.
The authors inspect maps for 3 selected questions in S02 and S03, the 2 subjects whose responses are predicted best. The example about a physical setting has a weight pattern that includes the occipital place area and retrosplenial complex, as well as the intraparietal sulcus. The relationship gives a concrete interpretation to a feature that survived selection. Its map is comparable with expectations derived from studies of places and spatial information. Agreement with those expectations provides a check on the plausibility of the fitted association.
The grammatical-complexity question gives another comparison. Its weight pattern resembles the language network, which the paper describes in relation to localization based on a contrast between sentences and nonwords. Here the feature is a judgment of complexity in a short narrative window. The spatial resemblance connects it with an established pattern, while the judgments tested in the two settings remain different. The map therefore suggests a relationship that can be described and examined in greater detail.
The physical-action question produces a strongly right-lateralized pattern, meaning that its fitted weights are more prominent on the right. The authors describe this example as having less direct support in the earlier literature. It illustrates how the representation can produce a specific claim to investigate, alongside the examples that line up with prior expectations. The distinction matters when reading the maps. The place and complexity examples have comparison points in the literature, while the action example is closer to hypothesis generation.
The authors jointly rescale the weights to the range from −1 to 1 for these visualizations. The appendix describes a separate question-importance measure based on average absolute coefficient size, normalized to the highest-importance question. An average of absolute values summarizes magnitude without preserving the direction or the location of the weights. The maps are useful here because they show a spatial pattern that any single importance score would compress. Together the two views let a reader ask which questions carry large weights overall and where the weights for individual questions are concentrated.
Where the approach tolerates imperfect answers
The distillation experiment varies the way the answers are produced while keeping the question inventory available to the predictor. One comparison uses the original separate calls. The distilled alternatives use either a hard answer or the probability assigned to the affirmative answer. The slight improvement when using probabilities suggests that the downstream predictor benefits from keeping information that a binary decision discards. The outcome is evidence about brain-response prediction using these features; it leaves the calibration of the answer probabilities unmeasured.
The 88.5% agreement result helps put the downstream comparison in context. A teacher mismatch can matter greatly if it occurs on an important feature at a relevant point in the story. Other mismatches can be diluted when the predictor combines information from multiple questions, overlapping windows, and lagged features. The near match in correlation shows that perfect imitation of individual answers is unnecessary to attain the reported downstream performance. An application that presents an individual answer to a reader would have a different reason to care about those errors.
The D3 experiment supplies a complementary analysis in which the target is a labeled judgment. Its weakest example clarifies why faithfulness depends on the boundary of a question. Mathematical notation is a plausible cue for mathematics, but it occurs in the negative examples as well. An answerer that relies on the cue can fill a coordinate consistently and still apply the intended category badly. Features of this kind can contribute to a predictor through the cues they actually track. Their labels should be interpreted in light of how the answers behave on the relevant text.
What changes when the task changes
The clustering comparison isolates a different use of selection. Since the retained questions come from the shared list, the adapted embedding cannot introduce a property absent from that list. The increase in the score comes from changing which parts of the representation contribute to distance. Questions generated for a different dataset can register large differences among examples without tracking class membership on the current task. Excluding those coordinates can make the geometry better reflect the distinctions actually being assessed.
The retrieval comparison tests the usefulness of the features as a supplement. QA-Emb alone underperforms BM-25, and the combined system does better than the interpretable baselines. Those results support a specific claim about complementary evidence. The test does not identify which individual questions account for the gain or how often they change the outcome for any particular kind of query. In that sense the experimental evidence is stronger for the comparison between whole representations than for an explanation of each retrieval decision.
Across these analyses, the ability to change the question list is a practical advantage of the design. The neuroscience experiment uses measured responses to select a concise list. The clustering experiment uses a task description to filter an existing one. The retrieval experiment keeps the properties available and adjusts their contributions to similarity. Each operation changes a different part of the representation, and each is evaluated against the outcome it was designed to affect.
Limitations
Limits the authors identify
The first stated limitation is the cost of producing an embedding. The basic procedure calls the answering system once per question, so adding features increases inference work. The authors describe two ways to reduce that burden in ordinary prompting. Computation for the common input can partly be reused through a key-value cache, which stores intermediate information used during generation. The decision can also be obtained with a single output token. Once computed, short binary embeddings are relatively cheap to compare. These savings apply at different stages, and inexpensive search over stored embeddings leaves the cost of generating them in place.
The distillation experiment addresses generation cost by processing a passage once for all the answers. This shifts work into generating teacher labels and fitting the student. The trained heads correspond to the question list used in distillation. If a question list changes, new answers can be requested directly through prompting, while a distilled system needs a corresponding way to produce predictions for the new questions. The paper demonstrates a single-pass alternative for the fixed fMRI list. Its evidence concerns that trained system and its held-out stories.
The authors report using 64 AMD MI210 GPUs with 64 gigabytes of memory each. They estimate that reproducing the experiments would take roughly 4 days and that the initial exploration used roughly 5 times that amount of compute. Those figures describe the experimental program, including its different evaluations. The authors also identify resource use as a sustainability concern in their broader discussion.
The other stated limitation is answer accuracy. The feature is named after the question, so inaccurate answering directly compromises what a user can infer from its name. The authors recommend questions that the chosen system can answer reliably and point to the variation in D3 accuracy as evidence for that requirement. They attribute some weak results to difficult distinctions and the absence of prompts tailored to each task. In the main application, a high-performing downstream predictor can partly absorb imperfect answers. A scientific interpretation of a named feature still relies on the underlying judgments being faithful enough for that interpretation.
The authors also describe question generation as a heuristic search. It can incorporate prior expertise and examples, but it depends on what the generator proposes. Feature selection can remove candidates from the pool and can favor a useful combination. It cannot select a property the pool never asks about. The paper presents more direct discrete optimization, iterative generation from errors, and better extraction of questions from examples as open directions.
Limits that follow from the design
The fMRI evaluation tests generalization to held-out stories for the people who supplied training recordings. It offers limited evidence about generalization across people. The 3 participants provide several opportunities to see a result recur, and the small standard errors describe the comparisons reported in the study. Broader claims about individuals, other kinds of speech, or other listening conditions would require a design that tests those sources of variation. The interpretive maps narrow the evidence further by concentrating on 2 subjects and 3 example features.
The fit is observational. A question about a place can be answered affirmatively at the same time as questions about motion, objects, or visual details. Elastic net can choose a predictive feature in that setting, but the choice depends on which alternatives were available and how their values covaried in the stories. A spatial association between a named feature and a fitted weight can motivate an experimental contrast. The recorded narratives alone do not isolate that property from its correlates or establish that it causes the associated brain response.
The complexity example makes this distinction concrete. An answering system may use cues that accompany complicated grammar, including the kinds of events described or the vocabulary used in the passage. A 10-word window can also cut across the boundaries of a larger grammatical construction. The corresponding feature is the system’s judgment from that window and prompt. A cortical pattern associated with that feature could reflect the targeted property, correlated properties, or a combination. Independent tests of the answers and controlled stimuli would address different parts of that uncertainty.
The reduction to the top 100 response components also shapes what is predicted. Transforming the predictions back to voxel space makes it possible to report correlations and maps there, while the predicted variation remains expressed through those retained components. Similarly, the chosen window size and set of possible lags define how the story can enter the fitted predictor. The study demonstrates a useful combination of these modeling choices. It leaves the sensitivity of particular interpretations to other target reductions, context lengths, and temporal settings open.
The treatment of faithfulness addresses two benchmarks with different targets. D3 gives independent binary labels for varied, mostly longer texts. Distillation gives agreement with a teacher on the story windows. The first can reveal category errors in tasks with reference labels. The second can show whether a cheaper system reproduces the teacher in the relevant text domain. Together they leave a gap for claims about the truth of each selected answer in the fMRI study. Direct human judgments on those questions and story windows would test that part of the interpretation more closely.
The retrieval corpus is constructed from a sample of queries and their associated relevant documents. It establishes how the method behaves under that particular candidate collection and split. The reported gain for the combined system gives no measurement of its behavior in a larger corpus with different distractors. In clustering, the class labels define the groups whose compactness is measured. A favorable distance score therefore establishes better alignment with known classes. Finding the number or membership of unknown groups is a separate problem, and the experiment does not evaluate a clustering algorithm asked to solve it.
Finally, the readable coordinate labels make a specific kind of explanation possible. A reader can inspect a question, look at the answer assigned to a passage, and examine a corresponding weight or contribution to similarity. That chain refers to the constructed representation and the downstream calculation. The computation by which the answering system reached its decision remains opaque. The interpretability demonstrated in the paper is strongest when the question has a clear meaning, the answers have been checked for the relevant inputs, and the fitted relationship is evaluated within the task that gave it meaning.
What came after
No confirmed follow-up study is available to establish how later researchers adopted or extended QA-Emb. The paper itself leaves several concrete directions open. For neuroscience, the learned maps suggest questions that could be examined with stimuli designed to vary the named properties more independently. For question generation, the authors propose letting prediction errors guide the search for missing features and investigating more direct ways to optimize a discrete question set.
The authors also discuss retrieval-augmented generation as a possible application. A question-based representation could give a system an account of which properties helped connect a query with a candidate passage, alongside the retrieval score. The reported retrieval experiment establishes a modest benefit from combining QA-Emb and BM-25 in its simplified setting. Whether readable features also improve the quality of explanations about retrieved material remains an open question.
Cite
Cite as Vinamra Benara, Chandan Singh, John X. Morris, Richard Antonello, Ion Gabriel Stoica, Alexander G. Huth and Jianfeng Gao. 2024. Crafting Interpretable Embeddings by Asking LLMs Questions. arXiv (Cornell University).
@misc{benara2024crafting,
title = {{Crafting Interpretable Embeddings by Asking LLMs Questions}},
author = {Vinamra Benara, Chandan Singh, John X. Morris, Richard Antonello, Ion Gabriel Stoica, Alexander G. Huth and Jianfeng Gao},
year = {2024},
doi = {10.48550/arxiv.2405.16714},
eprint = {2405.16714},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2405.16714}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/benara-2024-crafting-interpretable-embeddings-asking-llms/
References
- Stephen Robertson, Hugo Zaragoza, et al. The probabilistic relevance framework: Bm25 and beyond. Foundations and Trends® in Information Retrieval, 3(4):333–389, 2009. OpenAlex ↗ · Scholar ↗
- Nils Reimers and Iryna Gurevych. Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv preprint arXiv:1908.10084, 2019. our card
- Omar Khattab and Matei Zaharia. Colbert: Efficient and effective passage search via contextualized late interaction over bert. In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR '20, New York, NY, USA, 2020. Association for Computing Machinery. our card
- Tianyu Gao, Xingcheng Yao, and Danqi Chen. Simcse: Simple contrastive learning of sentence embeddings. arXiv preprint arXiv:2104.08821, 2021. our card
- Niklas Muennighoff. Sgpt: Gpt sentence embeddings for semantic search. arXiv preprint arXiv:2202.08904, 2022. our card
- Liang Wang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder, and Furu Wei. Improving text embeddings with large language models. arXiv preprint arXiv:2401.00368, 2023. our card
- Zehan Li, Xin Zhang, Yanzhao Zhang, Dingkun Long, Pengjun Xie, and Meishan Zhang. Towards general text embeddings with multi-stage contrastive learning. arXiv preprint arXiv:2308.03281, 2023. our card
- Shailee Jain, Vy A Vo, Leila Wehbe, and Alexander G Huth. Computational language modeling and the promise of in silico experimentation. Neurobiology of Language, 5(1):80–106, 2024. OpenAlex ↗ · Scholar ↗
- Caleb Ziems, William Held, Omar Shaikh, Jiaao Chen, Zhehao Zhang, and Diyi Yang. Can large language models transform computational social science? arXiv preprint arXiv:2305.03514, 2023. our card
- Xiao Zhang, Dejing Dou, and Ji Wu. Learning conceptual-contextual embeddings for medical text. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 9579–9586, 2020. OpenAlex ↗ · Scholar ↗
- Bryce Goodman and Seth Flaxman. European union regulations on algorithmic decision-making and a" right to explanation". arXiv preprint arXiv:1606.08813, 2016. OpenAlex ↗ · Scholar ↗
- Dario Amodei, Chris Olah, Jacob Steinhardt, Paul Christiano, John Schulman, and Dan Mané. Concrete problems in ai safety. arXiv preprint arXiv:1606.06565, 2016. our card
- Iason Gabriel. Artificial intelligence, values, and alignment. Minds and machines, 30(3):411–437, 2020. OpenAlex ↗ · Scholar ↗
- Chandan Singh, Jeevana Priya Inala, Michel Galley, Rich Caruana, and Jianfeng Gao. Rethinking interpretability in the era of large language models. arXiv preprint arXiv:2402.01761, 2024. our card
- Yongchao Zhou, Andrei Ioan Muresanu, Ziwen Han, Keiran Paster, Silviu Pitis, Harris Chan, and Jimmy Ba. Large language models are human-level prompt engineers. arXiv preprint arXiv:2211.01910, 2022. our card
- Chandan Singh, John X Morris, Jyoti Aneja, Alexander M Rush, and Jianfeng Gao. Explaining patterns in data with language models via interpretable autoprompting. arXiv preprint arXiv:2210.01848, 2022. OpenAlex ↗ · Scholar ↗
- Steven Bills, Nick Cammarata, Dan Mossing, William Saunders, Jeff Wu, Henk Tillman, Leo Gao, Gabriel Goh, Ilya Sutskever, and Jan Leike. Language models can explain neurons in language models. https://openaipublic.blob.core.windows.net/neuron-explainer/paper/index.html, 2023. OpenAlex ↗ · Scholar ↗
- Chandan Singh, Aliyah R Hsu, Richard Antonello, Shailee Jain, Alexander G Huth, Bin Yu, and Jianfeng Gao. Explaining black box text modules in natural language with language models. arXiv preprint arXiv:2305.09863, 2023. OpenAlex ↗ · Scholar ↗
- Julius Adebayo, Justin Gilmer, Michael Muelly, Ian Goodfellow, Moritz Hardt, and Been Kim. Sanity checks for saliency maps. In Advances in Neural Information Processing Systems, pages 9505–9515, 2018. OpenAlex ↗ · Scholar ↗
- Finale Doshi-Velez and Been Kim. A roadmap for a rigorous science of interpretability. arXiv preprint arXiv:1702.08608, 2017. OpenAlex ↗ · Scholar ↗
- Tal Yarkoni. The generalizability crisis. Behavioral and Brain Sciences, 45:e1, 2022. OpenAlex ↗ · Scholar ↗
- Alexander G Huth, Wendy A De Heer, Thomas L Griffiths, Frédéric E Theunissen, and Jack L Gallant. Natural speech reveals the semantic maps that tile human cerebral cortex. Nature, 532(7600):453–458, 2016. OpenAlex ↗ · Scholar ↗
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018. our card
- OpenAI. GPT-4 technical report. arXiv:2303.08774, 2023. our card
- Hui Zou and Trevor Hastie. Regularization and variable selection via the elastic net. Journal of the Royal Statistical Society Series B: Statistical Methodology, 67(2):301–320, 2005. OpenAlex ↗ · Scholar ↗
- Albert Q. Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, Lélio Renard Lavaud, Marie-Anne Lachaux, Pierre Stock, Teven Le Scao, Thibaut Lavril, Thomas Wang, Timothée Lacroix, and William El Sayed. Mistral 7b, 2023. OpenAlex ↗ · Scholar ↗
- AI@Meta. Llama 3 model card. 2024. OpenAlex ↗ · Scholar ↗
- Kyoung-Rok Jang, Junmo Kang, Giwon Hong, Sung-Hyon Myaeng, Joohee Park, Taewon Yoon, and Heecheol Seo. Ultra-high dimensional sparse representations with binarization for efficient text retrieval. arXiv preprint arXiv:2104.07198, 2021. OpenAlex ↗ · Scholar ↗
- Aditya Kusupati, Gantavya Bhatt, Aniket Rege, Matthew Wallingford, Aditya Sinha, Vivek Ramanujan, William Howard-Snyder, Kaifeng Chen, Sham Kakade, Prateek Jain, et al. Matryoshka representation learning. Advances in Neural Information Processing Systems, 35:30233–30249, 2022. OpenAlex ↗ · Scholar ↗
- Jacob Mitchell Springer, Suhas Kotha, Daniel Fried, Graham Neubig, and Aditi Raghunathan. Repetition improves language model embeddings. arXiv preprint arXiv:2402.15449, 2024. our card
- Jinhyuk Lee, Zhuyun Dai, Xiaoqi Ren, Blair Chen, Daniel Cer, Jeremy R. Cole, Kai Hui, Michael Boratko, Rajvi Kapadia, Wen Ding, Yi Luan, Sai Meher Karthik Duddu, Gustavo Hernandez Abrego, Weiqiang Shi, Nithi Gupta, Aditya Kusupati, Prateek Jain, Siddhartha Reddy Jonnalagadda, Ming-Wei Chang, and Iftekhar Naim. Gecko: Versatile text embeddings distilled from large language models, 2024. our card
- Shengyao Zhuang, Xueguang Ma, Bevan Koopman, Jimmy Lin, and Guido Zuccon. Promptreps: Prompting large language models to generate dense and sparse representations for zero-shot document retrieval, 2024. OpenAlex ↗ · Scholar ↗
- Chandan Singh, John Morris, Alexander M Rush, Jianfeng Gao, and Yuntian Deng. Tree prompting: Efficient task adaptation without fine-tuning. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 6253–6267, 2023. OpenAlex ↗ · Scholar ↗
- Josh Magnus Ludan, Qing Lyu, Yue Yang, Liam Dugan, Mark Yatskar, and Chris Callison-Burch. Interpretable-by-design text classification with iteratively generated concept bottleneck. arXiv preprint arXiv:2310.19660, 2023. OpenAlex ↗ · Scholar ↗
- Letian Peng, Yuwei Zhang, Zilong Wang, Jayanth Srinivasa, Gaowen Liu, Zihan Wang, and Jingbo Shang. Answer is all you need: Instruction-following text embedding via answering the question. arXiv preprint arXiv:2402.09642, 2024. OpenAlex ↗ · Scholar ↗
- Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781, 2013. our card
- Jeffrey Pennington, Richard Socher, and Christopher D Manning. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pages 1532–1543, 2014. our card
- Chandan Singh, Armin Askari, Rich Caruana, and Jianfeng Gao. Augmenting interpretable models with large language models during training. Nature Communications, 14(1):7913, 2023. OpenAlex ↗ · Scholar ↗
- Alexis Conneau, German Kruszewski, Guillaume Lample, Loïc Barrault, and Marco Baroni. What you can cram into a single vector: Probing sentence embeddings for linguistic properties. arXiv preprint arXiv:1805.01070, 2018. our card
- Frederick Liu and Besim Avci. Incorporating priors with feature attribution on text classification. arXiv preprint arXiv:1906.08286, 2019. OpenAlex ↗ · Scholar ↗
- David Bau, Bolei Zhou, Aditya Khosla, Aude Oliva, and Antonio Torralba. Network dissection: Quantifying interpretability of deep visual representations. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 6541–6549, 2017. our card
- David Bau, Jun-Yan Zhu, Hendrik Strobelt, Agata Lapedriza, Bolei Zhou, and Antonio Torralba. Understanding the role of individual units in a deep neural network. Proceedings of the National Academy of Sciences, 117(48):30071–30078, 2020. OpenAlex ↗ · Scholar ↗
- Wes Gurnee, Neel Nanda, Matthew Pauly, Katherine Harvey, Dmitrii Troitskii, and Dimitris Bertsimas. Finding neurons in a haystack: Case studies with sparse probing, 2023. our card
- Nicholas Bai, Rahul A Iyer, Tuomas Oikarinen, and Tsui-Wei Weng. Describe-and-dissect: Interpreting neurons in vision networks with language models. arXiv preprint arXiv:2403.13771, 2024. OpenAlex ↗ · Scholar ↗
- Sarah Schwettmann, Evan Hernandez, David Bau, Samuel Klein, Jacob Andreas, and Antonio Torralba. Toward a visual concept vocabulary for gan latent space. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 6804–6812, 2021. OpenAlex ↗ · Scholar ↗
- Ruochen Zhao, Shafiq Joty, Yongjie Wang, and Tan Wang. Explaining language models' predictions with high-impact concepts. arXiv preprint arXiv:2305.02160, 2023. OpenAlex ↗ · Scholar ↗
- Yibo Jiang, Bryon Aragam, and Victor Veitch. Uncovering meanings of embeddings via partial orthogonality. Advances in Neural Information Processing Systems, 36, 2024. OpenAlex ↗ · Scholar ↗
- Tuomas Oikarinen and Tsui-Wei Weng. Clip-dissect: Automatic description of neuron representations in deep vision networks. arXiv preprint arXiv:2204.10965, 2022. OpenAlex ↗ · Scholar ↗
- Tuomas Oikarinen, Subhro Das, Lam M Nguyen, and Tsui-Wei Weng. Label-free concept bottleneck models. arXiv preprint arXiv:2304.06129, 2023. OpenAlex ↗ · Scholar ↗
- Usha Bhalla, Alex Oesterling, Suraj Srinivas, Flavio P Calmon, and Himabindu Lakkaraju. Interpreting clip with sparse linear concept embeddings (splice). arXiv preprint arXiv:2402.10376, 2024. OpenAlex ↗ · Scholar ↗
- Yue Yang, Artemis Panagopoulou, Shenghao Zhou, Daniel Jin, Chris Callison-Burch, and Mark Yatskar. Language in a bottle: Language model guided concept bottlenecks for interpretable image classification. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 19187–19197, 2023. OpenAlex ↗ · Scholar ↗
- Aya Abdelsalam Ismail, Julius Adebayo, Hector Corrada Bravo, Stephen Ra, and Kyunghyun Cho. Concept bottleneck generative models. In The Twelfth International Conference on Learning Representations, 2023. OpenAlex ↗ · Scholar ↗
- Ruoyu Chen, Jingzhi Li, Hua Zhang, Changchong Sheng, Li Liu, and Xiaochun Cao. Sim2word: Explaining similarity with representative attribute words via counterfactual explanations. ACM Trans. Multimedia Comput. Commun. Appl., 19(6), jul 2023. OpenAlex ↗ · Scholar ↗
- Karthikeyan Natesan Ramamurthy, Amit Dhurandhar, Dennis Wei, and Zaid Bin Tariq. Analogies and feature attributions for model agnostic explanation of similarity learners. arXiv preprint arXiv:2202.01153, 2022. OpenAlex ↗ · Scholar ↗
- Martin Schrimpf, Idan Asher Blank, Greta Tuckute, Carina Kauf, Eghbal A Hosseini, Nancy Kanwisher, Joshua B Tenenbaum, and Evelina Fedorenko. The neural architecture of language: Integrative modeling converges on predictive processing. Proceedings of the National Academy of Sciences, 118(45):e2105646118, 2021. OpenAlex ↗ · Scholar ↗
- Richard Antonello, Aditya Vaidya, and Alexander Huth. Scaling laws for language encoding models in fmri. Advances in Neural Information Processing Systems, 36, 2024. OpenAlex ↗ · Scholar ↗
- Shailee Jain and Alexander Huth. Incorporating context into language encoding models for fmri. Advances in neural information processing systems, 31, 2018. OpenAlex ↗ · Scholar ↗
- Leila Wehbe, Ashish Vaswani, Kevin Knight, and Tom Mitchell. Aligning context-based statistical models of language with brain activity during reading. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 233–243, Doha, Qatar, October 2014. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Mariya Toneva and Leila Wehbe. Interpreting and improving natural-language processing (in machines) with natural language-processing (in the brain). In H. Wallach, H. Larochelle, A. Beygelzimer, F. d Alché-Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019. OpenAlex ↗ · Scholar ↗
- Ariel Goldstein, Zaid Zada, Eliav Buchnik, Mariano Schain, Amy Price, Bobbi Aubrey, Samuel A. Nastase, Amir Feder, Dotan Emanuel, Alon Cohen, Aren Jansen, Harshvardhan Gazula, Gina Choe, Aditi Rao, Catherine Kim, Colton Casto, Lora Fanda, Werner Doyle, Daniel Friedman, Patricia Dugan, Lucia Melloni, Roi Reichart, Sasha Devore, Adeen Flinker, Liat Hasenfratz, Omer Levy, Avinatan Hassidim, Michael Brenner, Yossi Matias, Kenneth A. Norman, Orrin Devinsky, and Uri Hasson. Shared computational principles for language processing in humans and deep language models. Nature Neuroscience, 25(3):369–380, March 2022. Number: 3 Publisher: Nature Publishing Group. OpenAlex ↗ · Scholar ↗
- John T. Hale, Luca Campanelli, Jixing Li, Shohini Bhattasali, Christophe Pallier, and Jonathan R. Brennan. Neurocomputational models of language processing. Annual Review of Linguistics, 8(1):427–446, 2022. OpenAlex ↗ · Scholar ↗
- Shailee Jain, Vy A. Vo, Leila Wehbe, and Alexander G. Huth. Computational Language Modeling and the Promise of in Silico Experimentation. Neurobiology of Language, pages 1–27, March 2023. OpenAlex ↗ · Scholar ↗
- Michael C.-K. Wu, Stephen V. David, and Jack L. Gallant. Complete functional characterization of sensory neurons by system identification. Annual Review of Neuroscience, 29:477–505, 2006. OpenAlex ↗ · Scholar ↗
- Shailee Jain, Vy Vo, Shivangi Mahto, Amanda LeBel, Javier S Turek, and Alexander Huth. Interpretable multi-timescale models for predicting fmri responses to continuous natural speech. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 13738–13749. Curran Associates, Inc., 2020. OpenAlex ↗ · Scholar ↗
- Catherine Chen, Tom Dupré la Tour, Jack Gallant, Daniel Klein, and Fatma Deniz. The cortical representation of language timescales is shared between reading and listening. bioRxiv, pages 2023–01, 2023. OpenAlex ↗ · Scholar ↗
- Sara F Popham, Alexander G Huth, Natalia Y Bilenko, Fatma Deniz, James S Gao, Anwar O Nunez-Elizalde, and Jack L Gallant. Visual and linguistic semantic representations are aligned at the border of human visual cortex. Nature neuroscience, 24(11):1628–1636, 2021. OpenAlex ↗ · Scholar ↗
- Charlotte Caucheteux, Alexandre Gramfort, and Jean-Remi King. Disentangling syntax and semantics in the brain with deep networks. In Proceedings of the 38th International Conference on Machine Learning, pages 1336–1348. PMLR, July 2021. ISSN: 2640-3498. OpenAlex ↗ · Scholar ↗
- Carina Kauf, Greta Tuckute, Roger Levy, Jacob Andreas, and Evelina Fedorenko. Lexical semantic content, not syntactic structure, is the main contributor to ann-brain similarity of fmri responses in the language network. bioRxiv, pages 2023–05, 2023. OpenAlex ↗ · Scholar ↗
- Aniketh Janardhan Reddy and Leila Wehbe. Can fMRI reveal the representation of syntactic structure in the brain? preprint, Neuroscience, June 2020. OpenAlex ↗ · Scholar ↗
- Alexandre Pasquiou, Yair Lakretz, Bertrand Thirion, and Christophe Pallier. Information-Restricted Neural Language Models Reveal Different Brain Regions' Sensitivity to Semantics, Syntax and Context, February 2023. arXiv:2302.14389 [cs]. OpenAlex ↗ · Scholar ↗
- Khai Loong Aw and Mariya Toneva. Training language models for deeper understanding improves brain alignment, December 2022. arXiv:2212.10898 [cs, q-bio]. OpenAlex ↗ · Scholar ↗
- Sreejan Kumar, Theodore R. Sumers, Takateru Yamakoshi, Ariel Goldstein, Uri Hasson, Kenneth A. Norman, Thomas L. Griffiths, Robert D. Hawkins, and Samuel A. Nastase. Reconstructing the cascade of language processing in the brain using the internal computations of a transformer-based language model. Technical report, bioRxiv, June 2022. Section: New Results Type: article. OpenAlex ↗ · Scholar ↗
- Subba Reddy Oota, Manish Gupta, and Mariya Toneva. Joint processing of linguistic properties in brains and language models, December 2022. arXiv:2212.08094 [cs, q-bio]. OpenAlex ↗ · Scholar ↗
- Amanda LeBel, Lauren Wagner, Shailee Jain, Aneesh Adhikari-Desai, Bhavin Gupta, Allyson Morgenthal, Jerry Tang, Lixiang Xu, and Alexander G Huth. A natural language fmri dataset for voxelwise encoding models. bioRxiv, pages 2022–09, 2022. OpenAlex ↗ · Scholar ↗
- Jerry Tang, Amanda LeBel, Shailee Jain, and Alexander G Huth. Semantic reconstruction of continuous language from non-invasive brain recordings. Nature Neuroscience, pages 1–9, 2023. OpenAlex ↗ · Scholar ↗
- Fabian Pedregosa, Ga ë l Varoquaux, Alexandre Gramfort, Vincent Michel, Bertrand Thirion, Olivier Grisel, Mathieu Blondel, Peter Prettenhofer, Ron Weiss, Vincent Dubourg, et al. Scikit-learn: Machine learning in python. the Journal of machine Learning research, 12(Oct):2825–2830, 2011. OpenAlex ↗ · Scholar ↗
- Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023. our card
- Evelina Fedorenko, Anna A Ivanova, and Tamar I Regev. The language network as a natural kind within the broader landscape of the human brain. Nature Reviews Neuroscience, pages 1–24, 2024. OpenAlex ↗ · Scholar ↗
- Joshua B Julian, Jack Ryan, Roy H Hamilton, and Russell A Epstein. The occipital place area is causally involved in representing environmental boundaries during navigation. Current Biology, 26(8):1104–1109, 2016. OpenAlex ↗ · Scholar ↗
- Anna S Mitchell, Rafal Czajkowski, Ningyu Zhang, Kate Jeffery, and Andrew JD Nelson. Retrosplenial cortex and its role in spatial cognition. Brain and neuroscience advances, 2:2398212818757098, 2018. OpenAlex ↗ · Scholar ↗
- Ilenia Salsano, Valerio Santangelo, and Emiliano Macaluso. The lateral intraparietal sulcus takes viewpoint changes into account during memory-guided attention in natural scenes. Brain Structure and Function, 226(4):989–1006, 2021. OpenAlex ↗ · Scholar ↗
- Saima Malik-Moraleda, Dima Ayyash, Jeanne Gallée, Josef Affourtit, Malte Hoffmann, Zachary Mineroff, Olessia Jouravlev, and Evelina Fedorenko. An investigation across 45 languages and 12 language families reveals a universal language network. Nature Neuroscience, 25(8):1014–1019, 2022. OpenAlex ↗ · Scholar ↗
- Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019. our card
- Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017. our card
- Ruiqi Zhong, Kristy Lee, Zheng Zhang, and Dan Klein. Adapting language models for zero-shot learning by meta-tuning on dataset and prompt collections. arXiv preprint arXiv:2104.04670, 2021. our card
- Ruiqi Zhong, Charlie Snell, Dan Klein, and Jacob Steinhardt. Describing differences between text distributions with natural language. In International Conference on Machine Learning, pages 27099–27116. PMLR, 2022. OpenAlex ↗ · Scholar ↗
- Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, and Li Deng. Ms marco: A human-generated machine reading comprehension dataset. 2016. our card
- P. Malo, A. Sinha, P. Korhonen, J. Wallenius, and P. Takala. Good debt or bad debt: Detecting semantic orientations in economic texts. Journal of the Association for Information Science and Technology, 65, 2014. OpenAlex ↗ · Scholar ↗
- Elvis Saravia, Hsien-Chi Toby Liu, Yen-Hao Huang, Junlin Wu, and Yi-Shin Chen. CARER: Contextualized affect representations for emotion recognition. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 3687–3697, Brussels, Belgium, October-November 2018. Association for Computational Linguistics. our card
- Xiang Zhang, Junbo Zhao, and Yann LeCun. Character-level convolutional networks for text classification. In C. Cortes, N. Lawrence, D. Lee, M. Sugiyama, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 28. Curran Associates, Inc., 2015. our card
- Bo Pang and Lillian Lee. Seeing stars: Exploiting class relationships for sentiment categorization with respect to rating scales. In Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics (ACL'05), pages 115–124, Ann Arbor, Michigan, June 2005. Association for Computational Linguistics. our card
- Anton Korinek. Language models and cognitive automation for economic research. Technical report, National Bureau of Economic Research, 2023. OpenAlex ↗ · Scholar ↗
- Parth Sarthi, Salman Abdullah, Aditi Tuli, Shubh Khanna, Anna Goldie, and Christopher D Manning. Raptor: Recursive abstractive processing for tree-organized retrieval. arXiv preprint arXiv:2401.18059, 2024. our card
- Darren Edge, Ha Trinh, Newman Cheng, Joshua Bradley, Alex Chao, Apurva Mody, Steven Truitt, and Jonathan Larson. From local to global: A graph rag approach to query-focused summarization. arXiv preprint arXiv:2404.16130, 2024. OpenAlex ↗ · Scholar ↗
- Ruiqi Zhong, Peter Zhang, Steve Li, Jinwoo Ahn, Dan Klein, and Jacob Steinhardt. Goal driven discovery of distributional differences via language descriptions. arXiv preprint arXiv:2302.14233, 2023. our card
- Chengrun Yang, Xuezhi Wang, Yifeng Lu, Hanxiao Liu, Quoc V Le, Denny Zhou, and Xinyun Chen. Large language models as optimizers. arXiv preprint arXiv:2309.03409, 2023. our card
- Xinyuan Wang, Chenxi Li, Zhen Wang, Fan Bai, Haotian Luo, Jiayou Zhang, Nebojsa Jojic, Eric P Xing, and Zhiting Hu. Promptagent: Strategic planning with language models enables expert-level prompt optimization. arXiv preprint arXiv:2310.16427, 2023. our card
- Weizhe Yuan, Richard Yuanzhe Pang, Kyunghyun Cho, Sainbayar Sukhbaatar, Jing Xu, and Jason Weston. Self-rewarding language models. arXiv preprint arXiv:2401.10020, 2024. OpenAlex ↗ · Scholar ↗
- Afra Feyza Akyürek, Ekin Akyürek, Leshem Choshen, Derry Wijaya, and Jacob Andreas. Deductive closure training of language models for coherence, accuracy, and updatability. arXiv preprint arXiv:2401.08574, 2024. our card
- Yanda Chen, Chandan Singh, Xiaodong Liu, Simiao Zuo, Bin Yu, He He, and Jianfeng Gao. Towards consistent natural-language explanations via explanation-consistency finetuning. arXiv preprint arXiv:2401.13986, 2024. OpenAlex ↗ · Scholar ↗
- Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card