Giter VIP home page Giter VIP logo

kaiyoo / precondition-and-effect-reasoning-for-action-recognition Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 682 KB

Research paper-Enhancing action recognition with precondition and effect

action-recognition action-prediction annotations precondition effect action-category super-class pseudo-labeling pseudo-label-training machine-learning deep-learning transfer-learning computer-vision

precondition-and-effect-reasoning-for-action-recognition's Introduction

Precondition and Effect Reasoning for Action Recognition

Currently, our paper is under the review in the journal (Computer Vision and Image Understanding).

Paper and code will be soon available after publication.

[1] Overview

  • Reinforcing the task of action recognition using annotations relevant to action.
  • Annotations: precondition, effect, super-class(category of action)
  • By utilizing these generated annotations, we show that action prediction can be improved in cycles.

[2] Idea

Somewhat similar to psuedo-labelling training as called elsewhere recently.

alt text

  • For example, if the label (action) is "Picking a cup up", generate the following pseudo-labels,
  1. Precondition: A cup is on the table
  2. Effect: Hand is holding a cup
  3. Super-class: Pick
  • Train the network originally desiged for predicting action to predict these pseudo-labels, and feed their softmax probability to train action.

[3] Annotations

Based on action labels provided by something-something V2 dataset, we labelled following annotations relevant to action (precondition, effect, super-class).

Annotations:

  1. Precondition: 60 classes
  2. Effect: 88 classes
  3. Super-class: 23 classes

Full labels of these annotations can be seen here. (The format in the link is a bit coarse since it was in the brainstorming stage. Data in processed forms that were used in the development stage as well as the script will be uploaded later)

[4] Models

For the base network and baseline, we used the code of TPN (Temporal Pyramid Network) by Yang et al.

[Cycles for training action and annotation] alt text

  1. First, probabilities for each action class are computed as shown in the upper part of this figure.
  2. For the next step, in the bottom part of the figure, annotations are trained with action information, and probabilities for each annotation are computed and fed to train action model again.
  3. Step 1 and 2 form a cycle. This cycle can be repeated as long as the improvement of validation accuracy is observed.

[Cycles unfolded]

alt text

For training action, softmax probability of annotations from the very previous step and action softmax probability from the previous cycle are added. For training each model, best model weight saved from the previous cycle is loaded. (transfer learning)

[5] Results

  • The best of our models, Model(E,P,S,A), which was trained up to Cycle2, outperforms TPN baseline by 3.4%.
Models Cycle1 Cycle2 Cycle3
Model(E,P,S,A) 65.15 65.40 65.29
Model(E,P,S) 64.21 64.50 โ€”
Model(E,P) 64.08 64.00 โ€”
  • Model names in "Models" tab mean: Action model that uses the following softmax prob (E:Effect, P:Precondition, S:Super-class, A: Action)
  • More detailed results as well as downloadable pretrained weights are available in /models directory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.