Introduction
In the field of egocentric action recognition, an action is typically defined by the composition of a verb and a noun (e.g., "wash" + "plate"). Traditional models often treat these as independent classification tasks, which frequently results in a "common sense gap." For instance, a model might predict high probabilities for "peel" and "spoon" independently, leading to a logically impossible action prediction. This study, conducted by researchers from A*STAR and the National University of Singapore, addresses this gap by embedding semantic constraints directly into the neural network's learning process.
The NS-LLM Framework
The authors propose "NS-LLM," a framework designed for Unsupervised Domain Adaptation (UDA). In UDA, a model is trained on a labeled "source" domain (e.g., one kitchen) and must generalize to an unlabeled "target" domain (e.g., a different kitchen). The target domain often contains valid action combinations that were absent in the source training set, rendering static co-occurrence matrices insufficient.
The architecture utilizes SlowFast and MViTv2 backbones for feature extraction, followed by a Graph Convolutional Network (GCN) to model temporal dependencies. To bridge the domain gap, a domain classifier with a gradient reversal layer is employed to ensure the learned features are invariant to specific kitchen environments.
Differentiable Logic and LLM Knowledge
A core innovation of this work is the Differentiable Logic Loss. Instead of relying solely on standard cross-entropy, the researchers convert verb-noun co-occurrence constraints into logic formulas. If a model's prediction violates these rules, the logic loss increases. Because the loss is differentiable, the model can backpropagate through it, refining its internal feature representations to respect physical and semantic constraints during training rather than as a post-processing step.
To address the "closed world" limitation of training data, the authors leveraged GPT-3.5 to extract "common sense" knowledge. By querying the LLM about the plausibility of various verb-noun pairs in a kitchen context, they constructed an "open world" co-occurrence matrix. This allows the model to correctly classify valid actions in the target domain that it may never have encountered in the labeled source data.
Experimental Results
The framework was evaluated on the EPIC-KITCHENS-100 dataset, which consists of 100 hours of egocentric video with a long-tail distribution of 97 verbs and 300 nouns.
The NS-LLM ensemble secured first place in the 2023 EPIC-KITCHENS-100 UDA Challenge. As shown in the results below, the proposed method significantly outperformed the challenge baseline across all metrics.
Key findings include:
- Logic Regularization: Incorporating logic loss (Base+LR) improved top-1 action accuracy by 0.5% on the validation set.
- LLM Advantage: Using GPT-3.5 for logic rules increased top-1 noun accuracy by 0.2%. However, the authors noted a slight trade-off in overall action accuracy, likely due to the LLM's "looser" supervision compared to the specific (and sometimes noisy) annotation style of the dataset.
Conclusion and Future Work
The study demonstrates that integrating symbolic logic and LLM-derived common sense into deep learning architectures provides a robust mechanism for domain adaptation. Future research will focus on incorporating spatial constraints (e.g., the relative position of hands and objects) and improving the robustness of LLM knowledge extraction to better align with specific dataset biases and "noisy" ground-truth labels.
Summary updated